-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/BILL-CPC-933_Implement_Button_To_Calculate_Bill_With_Tax #572
feat/BILL-CPC-933_Implement_Button_To_Calculate_Bill_With_Tax #572
Conversation
Qodana for JVM374 new problems were found
☁️ View the detailed Qodana report Contact Qodana teamContact us at [email protected]
|
@@ -42,6 +42,8 @@ <h5>Due Date: <strong>{{$ctrl.bills.dueDate}}</strong></h5> | |||
<hr> | |||
<br> | |||
<h5>Final Amount Due: {{$ctrl.bills.amount}}</h5> | |||
<h5 ng-if="show">Final Amount Including Taxes: {{$ctrl.bills.taxedAmount}}</h5> | |||
<button class="newBtn btn btn-primary" ng-click="show = !show"> {{show? "Hide amount including taxes" : "Show amount including taxes"}}</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also could have done this by crating a style class that is hidden, and then when the button is clicked the style class is then shown! Just a small change, either way works well!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will try your suggestion !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job adding in a tax for the bills.
//Mono<BillResponseDTO> getTaxedAmountByBillIdAndBillAmount(String billId, Double amount); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this left here so that eventually it will be implemented in the service impl? If not I don't think it would be a bad idea to get rid of commented out lines that we aren't using.
…ate_Bill_With_Tax
JIRA: https://champlainsaintlambert.atlassian.net/browse/CPC-933
Context:
We need to see the amount to pay including taxes
Changes
Before and After UI (Required for UI-impacting PRs)
Before
After
Dev notes (Optional)